home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
animTests
/
bezier_scale_box.s3d
< prev
next >
Wrap
Text File
|
2000-06-17
|
1KB
|
57 lines
Background {
color 0 0 0
}
DEF world-TIMER TimeSensor {
loop TRUE
cycleInterval 3.333
}
DEF Box01 Transform {
translation -0.3824 0.02415 -0.6492
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.6039 0.6039 0.898
}
}
]
geometry MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
DEF Box01-BEZSCALE-INTERP BezierVecInterpolator {
key [
0 0.5 1
]
keyValue [
1 1 -1 0.5349 0.5349 -0.5349 0.3021 0.3021 -0.3021 0.3021 0.3021 -0.3021 0.3021 0.3021 -0.3021 0.302 0.302 -0.302 0.5348 0.5348 -0.5348 0.9998 0.9998 -0.9998
]
}
ROUTE world-TIMER.fraction_changed TO Box01-BEZSCALE-INTERP.set_fraction
ROUTE Box01-BEZSCALE-INTERP.value_changed TO Box01.set_scale
]
}
DEF Camera01 Viewpoint{
position -0.9421 6.743 126
orientation 0 0 0 0
fieldOfView 0.6024
description "Camera01"
}